/* Class55 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class55
{
    public static int anInt890;
    public static Class14_Sub10_Sub1 aClass14_Sub10_Sub1_891;
    public static int anInt892;
    public static int anInt893;
    public static int anInt894;
    public static int anInt895 = 0;
    public Class14 aClass14_896;
    public Class14[] aClass14Array897;
    public static int anInt898;
    public static int anInt899;
    public static int anInt900;
    public static int anInt901;
    public static int anInt902;
    public static int anInt903;
    public static int anInt904;
    public static int anInt905;
    public static int anInt906;
    public int anInt907;
    public long aLong908;
    public static int anInt909;
    public int anInt910 = 0;
    public static int anInt911;
    public Class14 aClass14_912;
    
    public static void method1222(Class9 arg0, byte arg1) {
    while_832_:
	do {
	while_831_:
	    do {
		do {
		    try {
			anInt904++;
			Class14_Sub2_Sub21.anInt4088
			    = arg0.method146(Class14_Sub2_Sub13.aClass124_3926,
					     0);
			Class14_Sub8_Sub17.anInt4367
			    = arg0.method146(Class128.aClass124_2128, 0);
			Class14_Sub8_Sub1.anInt4102
			    = arg0.method146(Class14_Sub8_Sub21.aClass124_4434,
					     0);
			Class7_Sub3.anInt2681
			    = arg0.method146(Class114.aClass124_1900, 0);
			Class149.anInt2389
			    = arg0.method146(Class24.aClass124_470, 0);
			Class36.anInt629
			    = arg0.method146(Class107.aClass124_1795, 0);
			Class14_Sub2_Sub3.anInt3787
			    = arg0.method146(Class133_Sub3.aClass124_3570, 0);
			Class153.anInt2450
			    = arg0.method146(Class14_Sub2_Sub14.aClass124_3944,
					     0);
			if (arg1 > 35)
			    break;
		    } catch (RuntimeException runtimeexception) {
			break while_831_;
		    }
		    return;
		} while (false);
		try {
		    Class133_Sub4.anInt3584
			= arg0.method146(Class9.aClass124_207, 0);
		    Class14_Sub2_Sub18_Sub2.anInt5087
			= arg0.method146(Class85.aClass124_1365, 0);
		    Class85.anInt1369
			= arg0.method146(Class14_Sub8_Sub22.aClass124_4462, 0);
		    Class38.anInt2618
			= arg0.method146(Class9.aClass124_227, 0);
		    Class58.anInt937
			= arg0.method146(Class7_Sub3.aClass124_2684, 0);
		    Class111.anInt1857
			= arg0.method146(Class14_Sub8_Sub33.aClass124_4643, 0);
		    Class14_Sub8_Sub38.anInt4735
			= arg0.method146(Class52.aClass124_850, 0);
		    Class82.anInt1334
			= arg0.method146(Class96.aClass124_1631, 0);
		    Class9_Sub1.anInt2688
			= arg0.method146(Class69.aClass124_1068, 0);
		    Class14_Sub1.anInt2720
			= arg0.method146(Class17.aClass124_403, 0);
		    Class14_Sub8_Sub13.anInt4310
			= arg0.method146(Class115.aClass124_1908, 0);
		} catch (RuntimeException runtimeexception) {
		    break;
		}
		break while_832_;
	    } while (false);
	    Throwable throwable = new Throwable();
	    throw Class14_Sub8_Sub14.method554(throwable,
					       ("gl.N("
						+ (arg0 != null ? "{...}"
						   : "null")
						+ ',' + arg1 + ')'));
	} while (false);
    }
    
    public int method1223(byte arg0) {
	int i;
	try {
	    int i_0_ = 0;
	    if (arg0 != 39)
		method1231(-8);
	    for (int i_1_ = 0; (anInt907 ^ 0xffffffff) < (i_1_ ^ 0xffffffff);
		 i_1_++) {
		Class14 class14 = aClass14Array897[i_1_];
		for (Class14 class14_2_ = class14.aClass14_368;
		     class14_2_ != class14;
		     class14_2_ = class14_2_.aClass14_368)
		    i_0_++;
	    }
	    anInt902++;
	    i = i_0_;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "gl.B(" + arg0 + ')');
	}
	return i;
    }
    
    public void method1224(int arg0, long arg1, Class14 arg2) {
	try {
	    anInt890++;
	    if (arg0 != 8)
		method1234(-64);
	    if (arg2.aClass14_354 != null)
		arg2.method233(0);
	    Class14 class14
		= aClass14Array897[(int) (arg1 & (long) (anInt907 + -1))];
	    arg2.aLong355 = arg1;
	    arg2.aClass14_354 = class14.aClass14_354;
	    arg2.aClass14_368 = class14;
	    arg2.aClass14_354.aClass14_368 = arg2;
	    arg2.aClass14_368.aClass14_354 = arg2;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("gl.L(" + arg0 + ',' + arg1
						+ ','
						+ (arg2 != null ? "{...}"
						   : "null")
						+ ')'));
	}
    }
    
    public int method1225(int arg0) {
    while_833_:
	do {
	    do {
		int i;
		try {
		    anInt906++;
		    if (arg0 == -1839970912)
			break;
		    i = -27;
		} catch (RuntimeException runtimeexception) {
		    break while_833_;
		}
		return i;
	    } while (false);
	    int i;
	    try {
		i = anInt907;
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return i;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable, "gl.J(" + arg0 + ')');
    }
    
    public static void method1226(int arg0, int arg1, int arg2, int arg3,
				  int arg4) {
	try {
	    if ((arg3 ^ 0xffffffff) <= (arg1 ^ 0xffffffff))
		Class51.method1201((Class14_Sub2_Sub19.anIntArrayArray4038
				    [arg2]),
				   arg1, arg3, -5973, arg4);
	    else
		Class51.method1201((Class14_Sub2_Sub19.anIntArrayArray4038
				    [arg2]),
				   arg3, arg1, -5973, arg4);
	    if (arg0 != 4)
		method1236((byte) -10);
	    anInt901++;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("gl.G(" + arg0 + ',' + arg1
						+ ',' + arg2 + ',' + arg3 + ','
						+ arg4 + ')'));
	}
    }
    
    public Class14 method1227(byte arg0) {
    while_834_:
	do {
	    do {
		Class14 class14;
		try {
		    anInt903++;
		    if ((anInt910 ^ 0xffffffff) >= -1
			|| aClass14_912 == aClass14Array897[anInt910 - 1])
			break;
		    Class14 class14_3_ = aClass14_912;
		    aClass14_912 = class14_3_.aClass14_368;
		    class14 = class14_3_;
		} catch (RuntimeException runtimeexception) {
		    break while_834_;
		}
		return class14;
	    } while (false);
	    try {
		if (arg0 != -23)
		    method1229(-117, -33);
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    while ((anInt907 ^ 0xffffffff) < (anInt910 ^ 0xffffffff)) {
		Class14 class14 = aClass14Array897[anInt910++].aClass14_368;
		if (aClass14Array897[-1 + anInt910] != class14) {
		    aClass14_912 = class14.aClass14_368;
		    return class14;
		}
		try {
		    /* empty */
		} catch (RuntimeException runtimeexception) {
		    break while_834_;
		}
	    }
	    return null;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable, "gl.F(" + arg0 + ')');
    }
    
    public Class14 method1228(byte arg0) {
    while_835_:
	do {
	    do {
		Class14 class14;
		try {
		    anInt900++;
		    if (arg0 <= -48)
			break;
		    class14 = null;
		} catch (RuntimeException runtimeexception) {
		    break while_835_;
		}
		return class14;
	    } while (false);
	    Class14 class14;
	    try {
		anInt910 = 0;
		class14 = method1227((byte) -23);
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return class14;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable, "gl.E(" + arg0 + ')');
    }
    
    public static int method1229(int arg0, int arg1) {
	int i;
	try {
	    anInt909++;
	    int i_4_ = 62 / ((42 - arg1) / 58);
	    i = 0x7f & arg0;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("gl.D(" + arg0 + ',' + arg1
						+ ')'));
	}
	return i;
    }
    
    public Class14 method1230(long arg0, byte arg1) {
    while_836_:
	do {
	    Class14 class14;
	    try {
		int i = -117 % ((arg1 - -63) / 36);
		aLong908 = arg0;
		anInt911++;
		class14
		    = aClass14Array897[(int) (arg0 & (long) (anInt907 - 1))];
		aClass14_896 = class14.aClass14_368;
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    while (class14 != aClass14_896) {
		if ((arg0 ^ 0xffffffffffffffffL)
		    == (aClass14_896.aLong355 ^ 0xffffffffffffffffL)) {
		    Class14 class14_5_ = aClass14_896;
		    aClass14_896 = aClass14_896.aClass14_368;
		    return class14_5_;
		}
		try {
		    aClass14_896 = aClass14_896.aClass14_368;
		} catch (RuntimeException runtimeexception) {
		    break while_836_;
		}
	    }
	    aClass14_896 = null;
	    return null;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable,
					   "gl.H(" + arg0 + ',' + arg1 + ')');
    }
    
    public Class14 method1231(int arg0) {
    while_837_:
	do {
	    do {
		Class14 class14;
		try {
		    anInt894++;
		    if (null != aClass14_896)
			break;
		    class14 = null;
		} catch (RuntimeException runtimeexception) {
		    break while_837_;
		}
		return class14;
	    } while (false);
	    Class14 class14;
	    try {
		class14 = aClass14Array897[(int) (aLong908
						  & (long) (arg0 + anInt907))];
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    while (class14 != aClass14_896) {
		if ((aLong908 ^ 0xffffffffffffffffL)
		    == (aClass14_896.aLong355 ^ 0xffffffffffffffffL)) {
		    Class14 class14_6_ = aClass14_896;
		    aClass14_896 = aClass14_896.aClass14_368;
		    return class14_6_;
		}
		try {
		    aClass14_896 = aClass14_896.aClass14_368;
		} catch (RuntimeException runtimeexception) {
		    break while_837_;
		}
	    }
	    aClass14_896 = null;
	    return null;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable, "gl.O(" + arg0 + ')');
    }
    
    public int method1232(int arg0, Class14[] arg1) {
	int i;
	try {
	    anInt892++;
	    int i_7_ = 0;
	    for (int i_8_ = 0; anInt907 > i_8_; i_8_++) {
		Class14 class14 = aClass14Array897[i_8_];
		for (Class14 class14_9_ = class14.aClass14_368;
		     class14_9_ != class14;
		     class14_9_ = class14_9_.aClass14_368)
		    arg1[i_7_++] = class14_9_;
	    }
	    if (arg0 <= 79)
		method1227((byte) -41);
	    i = i_7_;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("gl.K(" + arg0 + ','
						+ (arg1 != null ? "{...}"
						   : "null")
						+ ')'));
	}
	return i;
    }
    
    public static Class94 method1233(int arg0, int arg1) {
    while_838_:
	do {
	    int i;
	    int i_10_;
	    do {
		Class94 class94;
		try {
		    if (arg1 != 21803)
			method1226(73, -111, -78, -15, 30);
		    anInt898++;
		    i = arg0 >> 1093532240;
		    i_10_ = 0xffff & arg0;
		    if (null != Class1.aClass94ArrayArray75[i]
			&& Class1.aClass94ArrayArray75[i][i_10_] != null)
			break;
		    boolean bool = Class126.method1741((byte) 95, i);
		    if (bool)
			break;
		    class94 = null;
		} catch (RuntimeException runtimeexception) {
		    break while_838_;
		}
		return class94;
	    } while (false);
	    Class94 class94;
	    try {
		class94 = Class1.aClass94ArrayArray75[i][i_10_];
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return class94;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable,
					   "gl.M(" + arg0 + ',' + arg1 + ')');
    }
    
    public void method1234(int arg0) {
	try {
	    for (int i = arg0; (anInt907 ^ 0xffffffff) < (i ^ 0xffffffff);
		 i++) {
		Class14 class14 = aClass14Array897[i];
		for (;;) {
		    Class14 class14_11_ = class14.aClass14_368;
		    if (class14_11_ == class14)
			break;
		    class14_11_.method233(0);
		}
	    }
	    anInt893++;
	    aClass14_912 = null;
	    aClass14_896 = null;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "gl.A(" + arg0 + ')');
	}
    }
    
    public Class55(int arg0) {
	try {
	    anInt907 = arg0;
	    aClass14Array897 = new Class14[arg0];
	    for (int i = 0; i < arg0; i++) {
		Class14 class14 = aClass14Array897[i] = new Class14();
		class14.aClass14_354 = class14;
		class14.aClass14_368 = class14;
	    }
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "gl.<init>(" + arg0 + ')');
	}
    }
    
    public static void method1235(boolean arg0, int arg1, boolean arg2,
				  byte arg3, Class32 arg4, int arg5, int arg6,
				  int arg7, int arg8, int arg9, int arg10) {
    while_842_:
	do {
	while_841_:
	    do {
	    while_839_:
		do {
		    do {
			try {
			    anInt899++;
			    if (!arg2 || Class128.method1755(arg3 ^ 0x7c0b0b5)
				|| ((Class14_Sub8_Sub4.aByteArrayArrayArray4142
				     [0][arg8][arg6])
				    & 0x2) != 0)
				break while_839_;
			    if (-1
				== ((Class14_Sub8_Sub4.aByteArrayArrayArray4142
				     [arg10][arg8][arg6]) & 0x10
				    ^ 0xffffffff))
				break;
			} catch (RuntimeException runtimeexception) {
			    break while_841_;
			}
			return;
		    } while (false);
		    try {
			if ((Class150.method2023(arg6, arg10, arg8, -10403)
			     ^ 0xffffffff)
			    == (Class142.anInt2295 ^ 0xffffffff))
			    break;
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		Class79 class79;
		do {
		    try {
			if (arg10 < Class7_Sub2.anInt2676)
			    Class7_Sub2.anInt2676 = arg10;
			class79 = Class79.method1377((byte) -106, arg9);
			if (!class79.aBoolean1272)
			    break;
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		int i;
		int i_12_;
		int[][] is;
		int i_13_;
		int i_14_;
		int i_15_;
		int i_16_;
		int[][] is_17_;
		long l;
		boolean bool;
	    while_840_:
		do {
		    do {
			try {
			    if (-2 == (arg1 ^ 0xffffffff) || 3 == arg1) {
				i = class79.anInt1245;
				i_12_ = class79.anInt1227;
			    } else {
				i_12_ = class79.anInt1245;
				i = class79.anInt1227;
			    }
			    int i_18_;
			    int i_19_;
			    if (i + arg8 <= 104) {
				i_18_ = arg8 - -(1 + i >> 1877273249);
				i_19_ = (i >> -1674373855) + arg8;
			    } else {
				i_18_ = arg8 + 1;
				i_19_ = arg8;
			    }
			    is = Class114.anIntArrayArrayArray1896[arg5];
			    int i_20_;
			    int i_21_;
			    if (104 >= arg6 - -i_12_) {
				i_21_ = (i_12_ >> -691815743) + arg6;
				i_20_ = (1 + i_12_ >> -2028033151) + arg6;
			    } else {
				i_20_ = arg6 + 1;
				i_21_ = arg6;
			    }
			    i_13_ = (is[i_18_][i_20_] + (is[i_19_][i_20_]
							 + is[i_19_][i_21_]
							 - -is[i_18_][i_21_])
				     >> 1657798434);
			    i_14_ = (arg6 << -1181132313) + (i_12_
							     << 1115166438);
			    i_15_ = (i << -2013919546) + (arg8 << -1461726201);
			    if (arg3 != 50)
				method1233(44, 71);
			    i_16_ = 0;
			    if ((arg5 ^ 0xffffffff) != -1) {
				is_17_ = Class114.anIntArrayArrayArray1896[0];
				i_16_ = -((is_17_[i_19_][i_20_]
					   + (is_17_[i_18_][i_21_]
					      + (is_17_[i_19_][i_21_]
						 - -is_17_[i_18_][i_20_])))
					  >> 391588514) + i_13_;
			    }
			    is_17_ = null;
			    if (!arg0) {
				if ((arg5 ^ 0xffffffff) > -4)
				    is_17_ = (Class114.anIntArrayArrayArray1896
					      [arg5 - -1]);
			    } else
				is_17_ = Class149.anIntArrayArrayArray2391[0];
			    l = (long) (0x40000000 | (arg6 << 2098933383 | arg8
						      | arg7 << -612677842
						      | arg1 << -126379916));
			    if ((class79.anInt1250 ^ 0xffffffff) == -1 || arg0)
				l |= ~0x7fffffffffffffffL;
			    if (class79.anInt1242 == 1)
				l |= 0x400000L;
			    if (class79.aBoolean1283)
				l |= 0x80000000L;
			    if (class79.method1392(-126))
				Class12.method213(arg8, arg6, class79,
						  (byte) -35, arg10, null,
						  null, arg1);
			    l |= (long) arg9 << -1839970912;
			    bool = class79.aBoolean1253 & !arg0;
			    if (22 != arg7)
				break while_840_;
			    if (Class148.aBoolean2372
				|| -1 != (class79.anInt1250 ^ 0xffffffff)
				|| -2 == (class79.anInt1229 ^ 0xffffffff)
				|| class79.aBoolean1228)
				break;
			} catch (RuntimeException runtimeexception) {
			    break while_841_;
			}
			return;
		    } while (false);
		    try {
			Class133 class133;
			if (class79.anInt1278 != -1
			    || class79.anIntArray1276 != null)
			    class133
				= new Class133_Sub4(arg9, 22, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 22, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class14_Sub8_Sub30.method642(arg10, arg8, arg6, i_13_,
						     class133, l,
						     class79.aBoolean1299);
			if ((class79.anInt1229 ^ 0xffffffff) == -2
			    && arg4 != null)
			    arg4.method1065(arg8, (byte) -80, arg6);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (10 != arg7 && 11 != arg7)
			    break;
			Class133 class133;
			if (class79.anInt1278 == -1
			    && class79.anIntArray1276 == null) {
			    Class86 class86
				= class79.method1383(i_13_, 10, is, is_17_,
						     arg2,
						     (arg7 != 11 ? arg1
						      : arg1 + 4),
						     true, bool, null, i_15_,
						     i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			} else
			    class133 = new Class133_Sub4(arg9, 10,
							 (arg7 == 11 ? arg1 + 4
							  : arg1),
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			if (class133 != null) {
			    boolean bool_22_
				= Class109.method1570(arg10, arg8, arg6, i_13_,
						      i, i_12_, class133, 0,
						      l);
			    if (class79.aBoolean1296 && bool_22_ && arg2) {
				int i_23_ = 15;
				if (class133 instanceof Class133_Sub7) {
				    i_23_ = ((Class133_Sub7) class133)
						.method1866() / 4;
				    if (30 < i_23_)
					i_23_ = 30;
				}
				for (int i_24_ = 0; i_24_ <= i; i_24_++) {
				    for (int i_25_ = 0; i_25_ <= i_12_;
					 i_25_++) {
					if (i_23_
					    > (Class99_Sub2
					       .aByteArrayArrayArray3354[arg10]
					       [i_24_ + arg8][i_25_ + arg6]))
					    Class99_Sub2
						.aByteArrayArrayArray3354
						[arg10][arg8 + i_24_]
						[arg6 + i_25_]
						= (byte) i_23_;
				    }
				}
			    }
			}
			if (class79.anInt1229 != 0 && arg4 != null)
			    arg4.method1073(i, arg8, arg6, i_12_,
					    class79.aBoolean1248, false);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (arg7 < 12)
			    break;
			Class133 class133;
			if (0 != (class79.anInt1278 ^ 0xffffffff)
			    || class79.anIntArray1276 != null)
			    class133 = new Class133_Sub4(arg9, arg7, arg1,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, arg7, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class109.method1570(arg10, arg8, arg6, i_13_, 1, 1,
					    class133, 0, l);
			if (arg2 && -13 >= (arg7 ^ 0xffffffff) && arg7 <= 17
			    && arg7 != 13 && -1 > (arg10 ^ 0xffffffff))
			    Class66.anIntArrayArrayArray1050[arg10][arg8][arg6]
				= Class66.method1294((Class66
						      .anIntArrayArrayArray1050
						      [arg10][arg8][arg6]),
						     4);
			if (class79.anInt1229 != 0 && null != arg4)
			    arg4.method1073(i, arg8, arg6, i_12_,
					    class79.aBoolean1248, false);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (arg7 != 0)
			    break;
			Class133 class133;
			if (-1 != class79.anInt1278
			    || null != class79.anIntArray1276)
			    class133
				= new Class133_Sub4(arg9, 0, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 0, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class90.method1444(arg10, arg8, arg6, i_13_, class133,
					   null,
					   Class14_Sub28.anIntArray3225[arg1],
					   0, l);
			if (arg2) {
			    if ((arg1 ^ 0xffffffff) == -1) {
				if (class79.aBoolean1296) {
				    Class99_Sub2.aByteArrayArrayArray3354
					[arg10][arg8][arg6]
					= (byte) 50;
				    Class99_Sub2.aByteArrayArrayArray3354
					[arg10][arg8][arg6 + 1]
					= (byte) 50;
				}
				if (class79.aBoolean1270)
				    Class66.anIntArrayArrayArray1050[arg10]
					[arg8][arg6]
					= (Class66.method1294
					   ((Class66.anIntArrayArrayArray1050
					     [arg10][arg8][arg6]),
					    1));
			    } else if (-2 != (arg1 ^ 0xffffffff)) {
				if ((arg1 ^ 0xffffffff) != -3) {
				    if (3 == arg1) {
					if (class79.aBoolean1296) {
					    Class99_Sub2
						.aByteArrayArrayArray3354
						[arg10][arg8][arg6]
						= (byte) 50;
					    Class99_Sub2
						.aByteArrayArrayArray3354
						[arg10][arg8 + 1][arg6]
						= (byte) 50;
					}
					if (class79.aBoolean1270)
					    Class66
						.anIntArrayArrayArray1050
						[arg10][arg8][arg6]
						= (Class66.method1294
						   ((Class66
						     .anIntArrayArrayArray1050
						     [arg10][arg8][arg6]),
						    2));
				    }
				} else {
				    if (class79.aBoolean1296) {
					Class99_Sub2
					    .aByteArrayArrayArray3354[arg10]
					    [arg8 - -1][arg6]
					    = (byte) 50;
					Class99_Sub2
					    .aByteArrayArrayArray3354[arg10]
					    [1 + arg8][1 + arg6]
					    = (byte) 50;
				    }
				    if (class79.aBoolean1270)
					Class66.anIntArrayArrayArray1050
					    [arg10][arg8 + 1][arg6]
					    = (Class66.method1294
					       ((Class66
						 .anIntArrayArrayArray1050
						 [arg10][arg8 + 1][arg6]),
						1));
				}
			    } else {
				if (class79.aBoolean1296) {
				    Class99_Sub2.aByteArrayArrayArray3354
					[arg10][arg8][arg6 + 1]
					= (byte) 50;
				    Class99_Sub2.aByteArrayArrayArray3354
					[arg10][1 + arg8][arg6 + 1]
					= (byte) 50;
				}
				if (class79.aBoolean1270)
				    Class66.anIntArrayArrayArray1050[arg10]
					[arg8][1 + arg6]
					= (Class66.method1294
					   ((Class66.anIntArrayArrayArray1050
					     [arg10][arg8][1 + arg6]),
					    2));
			    }
			}
			if (class79.anInt1229 != 0 && null != arg4)
			    arg4.method1075(class79.aBoolean1248, arg8, arg7,
					    arg6, arg1, (byte) 126);
			if (class79.anInt1246 != 16)
			    Class88.method1439(arg10, arg8, arg6,
					       class79.anInt1246);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if ((arg7 ^ 0xffffffff) != -2)
			    break;
			Class133 class133;
			if (-1 != class79.anInt1278
			    || class79.anIntArray1276 != null)
			    class133
				= new Class133_Sub4(arg9, 1, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 1, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class90.method1444(arg10, arg8, arg6, i_13_, class133,
					   null, Class4.anIntArray128[arg1], 0,
					   l);
			if (class79.aBoolean1296 && arg2) {
			    if ((arg1 ^ 0xffffffff) != -1) {
				if (-2 != (arg1 ^ 0xffffffff)) {
				    if ((arg1 ^ 0xffffffff) == -3)
					Class99_Sub2
					    .aByteArrayArrayArray3354[arg10]
					    [1 + arg8][arg6]
					    = (byte) 50;
				    else if (3 == arg1)
					Class99_Sub2
					    .aByteArrayArrayArray3354[arg10]
					    [arg8][arg6]
					    = (byte) 50;
				} else
				    Class99_Sub2.aByteArrayArrayArray3354
					[arg10][arg8 - -1][1 + arg6]
					= (byte) 50;
			    } else
				Class99_Sub2.aByteArrayArrayArray3354
				    [arg10][arg8][arg6 + 1]
				    = (byte) 50;
			}
			if (-1 != (class79.anInt1229 ^ 0xffffffff)
			    && arg4 != null)
			    arg4.method1075(class79.aBoolean1248, arg8, arg7,
					    arg6, arg1, (byte) 114);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (-3 != (arg7 ^ 0xffffffff))
			    break;
			int i_26_ = arg1 - -1 & 0x3;
			Class133 class133;
			Class133 class133_27_;
			if (-1 == class79.anInt1278
			    && null == class79.anIntArray1276) {
			    Class86 class86
				= class79.method1383(i_13_, 2, is, is_17_,
						     arg2, arg1 + 4, true,
						     bool, null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			    class86
				= class79.method1383(i_13_, 2, is, is_17_,
						     arg2, i_26_, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133_27_ = class86.aClass133_1379;
			} else {
			    class133 = new Class133_Sub4(arg9, 2, 4 + arg1,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			    class133_27_
				= new Class133_Sub4(arg9, 2, i_26_, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			}
			Class90.method1444(arg10, arg8, arg6, i_13_, class133,
					   class133_27_,
					   Class14_Sub28.anIntArray3225[arg1],
					   Class14_Sub28.anIntArray3225[i_26_],
					   l);
			if (class79.aBoolean1270 && arg2) {
			    if (arg1 != 0) {
				if (-2 != (arg1 ^ 0xffffffff)) {
				    if (2 == arg1) {
					Class66.anIntArrayArrayArray1050
					    [arg10][arg8 + 1][arg6]
					    = (Class66.method1294
					       ((Class66
						 .anIntArrayArrayArray1050
						 [arg10][arg8 + 1][arg6]),
						1));
					Class66.anIntArrayArrayArray1050
					    [arg10][arg8][arg6]
					    = (Class66.method1294
					       ((Class66
						 .anIntArrayArrayArray1050
						 [arg10][arg8][arg6]),
						2));
				    } else if (-4 == (arg1 ^ 0xffffffff)) {
					Class66.anIntArrayArrayArray1050
					    [arg10][arg8][arg6]
					    = (Class66.method1294
					       ((Class66
						 .anIntArrayArrayArray1050
						 [arg10][arg8][arg6]),
						2));
					Class66.anIntArrayArrayArray1050
					    [arg10][arg8][arg6]
					    = (Class66.method1294
					       ((Class66
						 .anIntArrayArrayArray1050
						 [arg10][arg8][arg6]),
						1));
				    }
				} else {
				    Class66.anIntArrayArrayArray1050[arg10]
					[arg8][arg6 + 1]
					= (Class66.method1294
					   ((Class66.anIntArrayArrayArray1050
					     [arg10][arg8][arg6 + 1]),
					    2));
				    Class66.anIntArrayArrayArray1050[arg10]
					[1 + arg8][arg6]
					= (Class66.method1294
					   ((Class66.anIntArrayArrayArray1050
					     [arg10][1 + arg8][arg6]),
					    1));
				}
			    } else {
				Class66.anIntArrayArrayArray1050[arg10]
				    [arg8][arg6]
				    = (Class66.method1294
				       ((Class66.anIntArrayArrayArray1050
					 [arg10][arg8][arg6]),
					1));
				Class66.anIntArrayArrayArray1050[arg10]
				    [arg8][arg6 + 1]
				    = (Class66.method1294
				       ((Class66.anIntArrayArrayArray1050
					 [arg10][arg8][arg6 + 1]),
					2));
			    }
			}
			if (-1 != (class79.anInt1229 ^ 0xffffffff)
			    && arg4 != null)
			    arg4.method1075(class79.aBoolean1248, arg8, arg7,
					    arg6, arg1, (byte) 127);
			if (-17 != (class79.anInt1246 ^ 0xffffffff))
			    Class88.method1439(arg10, arg8, arg6,
					       class79.anInt1246);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (arg7 != 3)
			    break;
			Class133 class133;
			if (class79.anInt1278 != -1
			    || null != class79.anIntArray1276)
			    class133
				= new Class133_Sub4(arg9, 3, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 3, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class90.method1444(arg10, arg8, arg6, i_13_, class133,
					   null, Class4.anIntArray128[arg1], 0,
					   l);
			if (class79.aBoolean1296 && arg2) {
			    if (0 == arg1)
				Class99_Sub2.aByteArrayArrayArray3354
				    [arg10][arg8][1 + arg6]
				    = (byte) 50;
			    else if ((arg1 ^ 0xffffffff) == -2)
				Class99_Sub2.aByteArrayArrayArray3354
				    [arg10][1 + arg8][arg6 - -1]
				    = (byte) 50;
			    else if (-3 == (arg1 ^ 0xffffffff))
				Class99_Sub2.aByteArrayArrayArray3354
				    [arg10][1 + arg8][arg6]
				    = (byte) 50;
			    else if (3 == arg1)
				Class99_Sub2.aByteArrayArrayArray3354
				    [arg10][arg8][arg6]
				    = (byte) 50;
			}
			if (0 != class79.anInt1229 && arg4 != null)
			    arg4.method1075(class79.aBoolean1248, arg8, arg7,
					    arg6, arg1, (byte) 111);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (9 != arg7)
			    break;
			Class133 class133;
			if (0 != (class79.anInt1278 ^ 0xffffffff)
			    || null != class79.anIntArray1276)
			    class133 = new Class133_Sub4(arg9, arg7, arg1,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, arg7, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class109.method1570(arg10, arg8, arg6, i_13_, 1, 1,
					    class133, 0, l);
			if (-1 != (class79.anInt1229 ^ 0xffffffff)
			    && arg4 != null)
			    arg4.method1073(i, arg8, arg6, i_12_,
					    class79.aBoolean1248, false);
			if (16 != class79.anInt1246)
			    Class88.method1439(arg10, arg8, arg6,
					       class79.anInt1246);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (4 != arg7)
			    break;
			Class133 class133;
			if ((class79.anInt1278 ^ 0xffffffff) != 0
			    || class79.anIntArray1276 != null)
			    class133
				= new Class133_Sub4(arg9, 4, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class127.method1748(arg10, arg8, arg6, i_13_, class133,
					    null,
					    Class14_Sub28.anIntArray3225[arg1],
					    0, 0, 0, l);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (5 != arg7)
			    break;
			int i_28_ = 16;
			long l_29_ = Class2.method79(arg10, arg8, arg6);
			if (0L != l_29_)
			    i_28_
				= (Class79.method1377
				   ((byte) -106,
				    (int) (l_29_ >>> -1168641504) & 0x7fffffff)
				   .anInt1246);
			Class133 class133;
			if (-1 != class79.anInt1278
			    || null != class79.anIntArray1276)
			    class133
				= new Class133_Sub4(arg9, 4, arg1, arg5, arg8,
						    arg6, class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, arg1, true, bool,
						     null, i_15_, i_14_);
			    if (bool)
				Class151.method2026
				    (class86.aClass148_Sub1_1386,
				     (-(Class14_Sub19.anIntArray3074[arg1] * 8)
				      + i_15_),
				     i_16_,
				     (-(Class9.anIntArray212[arg1] * 8)
				      + i_14_));
			    class133 = class86.aClass133_1379;
			}
			Class127.method1748(arg10, arg8, arg6, i_13_, class133,
					    null,
					    Class14_Sub28.anIntArray3225[arg1],
					    0,
					    (Class14_Sub19.anIntArray3074[arg1]
					     * i_28_),
					    i_28_ * Class9.anIntArray212[arg1],
					    l);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (6 != arg7)
			    break;
			int i_30_ = 8;
			long l_31_ = Class2.method79(arg10, arg8, arg6);
			if (-1L != (l_31_ ^ 0xffffffffffffffffL))
			    i_30_
				= (Class79.method1377
				   ((byte) -106,
				    (int) (l_31_ >>> 1864202464) & 0x7fffffff)
				   .anInt1246) / 2;
			Class133 class133;
			if (class79.anInt1278 == -1
			    && class79.anIntArray1276 == null) {
			    Class86 class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, arg1 - -4, true,
						     bool, null, i_15_, i_14_);
			    if (bool)
				Class151.method2026
				    (class86.aClass148_Sub1_1386,
				     i_15_ + -(Class114.anIntArray1893[arg1]
					       * 8),
				     i_16_,
				     -(8 * (Class14_Sub2_Sub9.anIntArray3859
					    [arg1])) + i_14_);
			    class133 = class86.aClass133_1379;
			} else
			    class133 = new Class133_Sub4(arg9, 4, arg1 - -4,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			Class127.method1748
			    (arg10, arg8, arg6, i_13_, class133, null, 256,
			     arg1, i_30_ * Class114.anIntArray1893[arg1],
			     Class14_Sub2_Sub9.anIntArray3859[arg1] * i_30_,
			     l);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if ((arg7 ^ 0xffffffff) != -8)
			    break;
			int i_32_ = arg1 - -2 & 0x3;
			Class133 class133;
			if (0 != (class79.anInt1278 ^ 0xffffffff)
			    || class79.anIntArray1276 != null)
			    class133 = new Class133_Sub4(arg9, 4, 4 + i_32_,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			else {
			    Class86 class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, 4 + i_32_, true,
						     bool, null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_, i_16_, i_14_);
			    class133 = class86.aClass133_1379;
			}
			Class127.method1748(arg10, arg8, arg6, i_13_, class133,
					    null, 256, i_32_, 0, 0, l);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    return;
		} while (false);
		do {
		    try {
			if (-9 != (arg7 ^ 0xffffffff))
			    break;
			int i_33_ = 8;
			long l_34_ = Class2.method79(arg10, arg8, arg6);
			if ((l_34_ ^ 0xffffffffffffffffL) != -1L)
			    i_33_ = (Class79.method1377
				     ((byte) -106,
				      (int) (l_34_ >>> 671767136) & 0x7fffffff)
				     .anInt1246) / 2;
			int i_35_ = 0x3 & arg1 - -2;
			Class133 class133;
			Class133 class133_36_;
			if (0 == (class79.anInt1278 ^ 0xffffffff)
			    && null == class79.anIntArray1276) {
			    int i_37_ = Class114.anIntArray1893[arg1] * 8;
			    int i_38_
				= 8 * Class14_Sub2_Sub9.anIntArray3859[arg1];
			    Class86 class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, arg1 - -4, true,
						     bool, null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    i_15_ - i_37_, i_16_,
						    i_14_ - i_38_);
			    class133 = class86.aClass133_1379;
			    class86
				= class79.method1383(i_13_, 4, is, is_17_,
						     arg2, i_35_ - -4, true,
						     bool, null, i_15_, i_14_);
			    if (bool)
				Class151.method2026((class86
						     .aClass148_Sub1_1386),
						    -i_37_ + i_15_, i_16_,
						    i_14_ - i_38_);
			    class133_36_ = class86.aClass133_1379;
			} else {
			    class133 = new Class133_Sub4(arg9, 4, arg1 - -4,
							 arg5, arg8, arg6,
							 class79.anInt1278,
							 class79.aBoolean1258,
							 null);
			    class133_36_
				= new Class133_Sub4(arg9, 4, i_35_ - -4, arg5,
						    arg8, arg6,
						    class79.anInt1278,
						    class79.aBoolean1258,
						    null);
			}
			Class127.method1748(arg10, arg8, arg6, i_13_, class133,
					    class133_36_, 256, arg1,
					    (i_33_
					     * Class114.anIntArray1893[arg1]),
					    i_33_ * (Class14_Sub2_Sub9
						     .anIntArray3859[arg1]),
					    l);
		    } catch (RuntimeException runtimeexception) {
			break while_841_;
		    }
		    break;
		} while (false);
		break while_842_;
	    } while (false);
	    Throwable throwable = new Throwable();
	    throw Class14_Sub8_Sub14.method554(throwable,
					       ("gl.C(" + arg0 + ',' + arg1
						+ ',' + arg2 + ',' + arg3 + ','
						+ (arg4 != null ? "{...}"
						   : "null")
						+ ',' + arg5 + ',' + arg6 + ','
						+ arg7 + ',' + arg8 + ','
						+ arg9 + ',' + arg10 + ')'));
	} while (false);
    }
    
    public static void method1236(byte arg0) {
	try {
	    aClass14_Sub10_Sub1_891 = null;
	    if (arg0 > -127)
		method1222(null, (byte) 98);
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "gl.I(" + arg0 + ')');
	}
    }
    
    static {
	aClass14_Sub10_Sub1_891 = new Class14_Sub10_Sub1(5000);
    }
}
